// router/modules/home.js
const spCommon = [
  {
    //注意：path必须跟pages.json中的地址对应，最前面别忘了加'/'哦
    path: "/pages/home/index",
    aliasPath: "/", //对于h5端你必须在首页加上aliasPath并设置为/
    name: "home",
    meta: {
      title: "首页",
    },
  },
  {
    path: "/pages/mine/index",
    name: "mine",
    meta: {
      title: "我的",
    },
  },
  {
    path: "/pages/scan/index",
    name: "scan",
    meta: {
      title: "扫一扫",
    },
  },
  {
    //注意：path必须跟pages.json中的地址对应，最前面别忘了加'/'哦
    path: "/pages/sp-common/pages/login/index",
    //   aliasPath: "/", //对于h5端你必须在首页加上aliasPath并设置为/
    name: "login",
    meta: {
      title: "登录",
    },
  },
  {
    //注意：path必须跟pages.json中的地址对应，最前面别忘了加'/'哦
    path: "/pages/sp-common/pages/subscribe-qrcode/index",
    //   aliasPath: "/", //对于h5端你必须在首页加上aliasPath并设置为/
    name: "subscribeQrcode",
    meta: {
      title: "关注公众号",
    },
  },
];
export default spCommon;
